package com.doit.demo06;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class test01_Write {
    public static void main(String[] args) throws IOException {
        Writer w = new FileWriter("d:\\work\\abc\\2.txt",true);
        char[]c = {'a','f','s','d'};
        w.write(c);
        w.flush();
        w.write('W');
        w.flush();
        w.write(97);
        w.flush();

        w.close();
    }
}
